vpGmc.h

Go to the documentation of this file.
00001 
00017 #if !defined(VPGMC_H)
00018 #define VPGMC_H
00019 
00020 #include "vprove.h"
00021 
00022 // After all #includes
00023 #ifdef VPGMC_EXPORTS
00024 #include "vqModHead.h"
00025 #endif
00026 
00027 /******************************************************************************/
00028 
00033 typedef struct
00034 {
00035   long du[4];
00036   long dv[4];
00037   int no_of_sprite_warping_points;
00038   int sprite_warping_accuracy;
00039   int sprite_brightness_change;
00040   long brightness_change_factor;
00041 
00042 } VP_SpriteParameters;
00043 
00051 VQ_EXTERN_C VQ_DECL void VP_GmcInit(long width,
00052                                     long height);
00053 
00063 VQ_EXTERN_C VQ_DECL void VP_Gmc(VP_Surface *ref,
00064                                 unsigned char *dst,
00065                                 int x,
00066                                 int y,
00067                                 VP_SpriteParameters *sp, 
00068                                 int rc,
00069                                 int isChroma);
00070 
00071 
00082 VQ_EXTERN_C VQ_DECL void VP_GmcAmv(int x,
00083                                    int y,
00084                                    VP_SpriteParameters *sp,
00085                                    int *h,
00086                                    int *v, 
00087                                    int width,
00088                                    int height,
00089                                    int quarter_sample);
00090 
00095 VQ_EXTERN_C VQ_DECL void VP_GmcInfo(VP_PluginInfo *info);
00096 
00097 
00098 /******************************************************************************/
00099 #include "vqModFoot.h"
00100 #endif // VPGMC_H
00101 /******************************************************************************/
00102 /* End of file                                                                */


Main page Mon May 18 23:12:44 2020